ml, num = map(float, input().split())
print("%.3f" % (ml / num))
print("%d" % (2 * num))
